<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>screen对象</title>
		<script>
			//屏幕的宽度和高度
			document.write(screen.width + "," + screen.height);
			
			//屏幕的宽度和高度（不包括Windows任务栏）
			document.write(screen.availWidth + "," + screen.availHeight);
		</script>
	</head>
	<body>
	</body>
</html>
